import hashlib
data = "hello world"
sha1 = hashlib.sha1(data.encode('utf-8')).hexdigest()
print(sha1)